package com.shawn.spring.boot.mybatisplus.constants;

public enum MenuTypeEnum implements BaseEnum {
  CATALOG_TYPE(0, "目录"),
  MENU_TYPE(0, "菜单"),
  BUTTON_TYPE(0, "按钮");

  private int code;

  private String name;

  MenuTypeEnum(int code, String name) {
    this.code = code;
    this.name = name;
  }

  @Override
  public int getCode() {
    return code;
  }

  @Override
  public String getName() {
    return name;
  }
}
